Skip to main content

hide

Type

command

Summary

Makes an object invisible.

Syntax

hide <object> [with visual [effect] <effectName> [<speed>] [to <finalImage>]]

Description

Use the hide command to hide objects temporarily or permanently.

Hiding an object sets its visible property to false. The object itself is still in the stack and can be restored with the show command. You can also set the showInvisibles property to true to override the visible property and show all objects.

Hiding a stack hides its window, but does not close the stack.

You can hide a card without causing a script error, but doing so has no effect.

Hiding a group hides all the controls in the group.

Parameters

NameTypeDescription

object

Any open stack, or any control in an open stack.

effectName

The effectName, speed, and finalImage are described in the visual effect command. These three parameters operate the same way as they do in the visual effect command.

speed

finalImage

Examples

hide button 14
hide field "New" with visual effect "dissolve"
hide this stack with visual "dissolve" fast to black

glossary: object, command, property

keyword: black

object: stack

property: showPict, imageSource, visible, showInvisibles

command: disable, answer effect, show, hide menubar, visual effect

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?